﻿using DH.Core.MapperHelper;
using DH.Core.UI.ViewModel;
using DH.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DH.Service.ViewModels
{
    [MapToType(typeof(AreaEntity))]
    public class AreaViewModel: EntityModelBase
    {

        public string ParentId { get; set; }
        public string ParentName { get; set; }
        public int Layers { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string EnCode { get; set; }
        /// <summary>
        /// 全称
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 拼音简称
        /// </summary>
        public string SimpleSpelling { get; set; }

        public bool DeleteMark { get; set; }

        public bool EnabledMark { get; set; }

        public string Description { get; set; }


        //public DateTimeOffset CreatedOn { get; set; }
        //public string CreatedBy { get; set; }

        //public DateTimeOffset UpdatedOn { get; set; }
        //public string UpdatedBy { get; set; }

        //public DateTimeOffset? DeletedOn { get; set; }
        //public string DeletedBy { get; set; }
    }
}
